package com.zzyl.service;

import com.zzyl.dto.ResourceDto;
import com.zzyl.vo.ResourceVo;
import com.zzyl.vo.TreeVo;

import java.util.List;

/**
 * @Description ResourceService
 * @Author Wen Jie
 * @Date 2024-09-15
 */
public interface ResourceService {
    List<ResourceVo> list(ResourceVo resourceVo);

    TreeVo resourceTreeVo(ResourceVo resourceVo);

    void createResource(ResourceDto resourceDto);

    void updateResource(ResourceDto resourceDto);

    boolean isEnable(ResourceDto resourceDto);
}
